import request1 from '@/utils/request1.js'

export async function userArticleListService(page, pageSize, type, queryName) {
  return await request1({
    method: 'GET',
    url: '/article/some',
    params: {
      page,
      pageSize,
      type,
      queryName
    }
  })
}
export async function userOneArticleService(articleId) {
  return await request1({
    method: 'GET',
    url: '/article',
    params: {
      articleId
    }
  })
}
export async function userSearchArticleService(page, pageSize, queryName, queryUploader) {
  return await request1({
    method: 'GET',
    url: '/article/some',
    params: {
      page,
      pageSize,
      queryName,
      queryUploader
    }
  })
}
